CGI Bin-Type Arguments

If you embed your DjVu document in an HTML page, the tags you use give you an easy way to access the plug-in scripting interfaces; but if you serve the document directly off the Web server there are no such tags. However, the plug-in/control reads "CGI-style" arguments that allow you to set properties as part of the URL that instantiates it.

To specify a CGI-style argument, append "?djvuopts&" to the document's URL and separate property assignments with “&” signs.

Examples

The following disables the pop-up menu and toolbar:

http://www.lizardtech.com/solutions/document/samples/brattain/directory.djvu?djvuopts&menu=false&toolbar=false

The following displays a double-page spread with a space (gap) between the pages and sets the zoom to fit page:

http://www.lizardtech.com/solutions/document/samples/brattain/directory.djvu?djvuopts&layout=double,gap&zoom=page

The following draws a 2000x800 (in image coordinates) yellow highlight starting at (50,600) from the image's lower left corner:

http://www.lizardtech.com/solutions/document/samples/brattain/directory.djvu?djvuopts&highlight=50,600,2000,800,FFFF00

The following zooms in on a specific portion of the highlighted region:

http://www.lizardtech.com/solutions/document/samples/brattain/directory.djvu?djvuopts&highlight=50,600,2000,800,FFFF00&showposition=.3,.7&zoom=300